export const toolbar =
  'undo redo | ' +
  'blocks fontsize fontfamily |' +
  'bold italic underline strikethrough forecolor backcolor |' +
  'alignleft aligncenter alignright alignjustify |' +
  'formatselect |' +
  'accordion accordionremove |' +
  'bullist numlist outdent indent | ' +
  'lists link table code | ' +
  'removeformat '

export const font_formats =
  'Arial=arial,helvetica,sans-serif; 宋体=SimSun; 微软雅黑=Microsoft Yahei; Impact=impact,chicago;' // 字体

export const fontsize_formats = '11px 12px 14px 16px 18px 24px 36px 48px 64px 72px' // 文字大小

export const baseDefaultConfig = {
  language_url: '/tinymce/langs/zh-Hans.js', // 语言包的路径
  language: 'zh-Hans', // 语言
  skin_url: '/tinymce/skins/ui/oxide', // skin路径
  width: '100%', // 编辑器宽度
  branding: false, // 右下角水印
  promotion: false, // 顶部⚡️Upgrade
  menubar: true, // 顶部菜单栏显示
  plugins: 'image table lists wordcount code fullscreen media',
  toolbar: toolbar,
  paste_webkit_styles: 'all',
  paste_merge_formats: true,
  nonbreaking_force_tab: false,
  paste_auto_cleanup_on_paste: false,
  content_css: '/tinymce/skins/content/default/content.css' // 以css文件方式自定义可编辑区域的css样式，css文件需自己创建并引入
}